package edu.hainnu.niit.service;

import edu.hainnu.niit.model.News;
import edu.hainnu.niit.model.PageBean;
import edu.hainnu.niit.model.auction;

import java.util.List;

/**
 * TODO
 *
 * @package_name edu.hainnu.niit.service
 * @auther GGB
 * @date 2021/12/12
 * @time 14:16
 */
public interface INewsService {
    public List<News> LatestConsultation(Integer pageSize);
    public List<News> IndustryDynamics(Integer pageSize);
    //查询热门资讯
    List<News> PopularConsultation(Integer pageSize);
    //分页
    public PageBean<News> queryNewsService(Integer currentPage, Integer pageSize,String sname);

    PageBean<News> queryTypeNewsService(Integer currentPage, Integer pageSize, Integer Type, String sname);

    News queryNewsByIDService(Integer id);


}
